package com.jt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jt.pojo.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleMapper extends BaseMapper<Role> {
      List<String> selectRouterIdListByRoleId(@Param("roleId") String roleId);

    List<String> AssignPermissions(List<String> roleNameList);
}
